import request from '../../utils/request'

function User(data) {
    return request({
        url: '/user/findById',
        method: 'post',
        data
    })
}
function setPassword(data) {
    return request({
        url: '/user/updatePassword',
        method: 'post',
        data: { parameters: data }
    })
}
function quer_status_user(data) {
    return request({
        url: '/user/findWithParameters',
        method: 'post',
        data: {
            parameters: data,
            page: {
                pageSize: 999,
                pageIndex: 1
            }
        }
    })
}


export {
    User,
    setPassword,
    quer_status_user
}